package com.linkhub.oms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.linkhub.oms.common.enums.mp.ApprovalStatusEnum;
import com.linkhub.oms.common.enums.mp.ProcessStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 白名单审批表
 * </p>
 *
 * @author echo
 * @since 2024-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_white_list_approval_record")
@ApiModel(value="WhiteListApprovalRecordEntity对象", description="白名单审批表")
public class WhiteListApprovalRecordEntity implements Serializable {


    @ApiModelProperty(value = "主键")
    @TableId(value = "Fid", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "邮箱")
    @TableField("Femail")
    private String email;

    @ApiModelProperty(value = "审批状态：0-待审批；1-同意；2-拒绝")
    @TableField("Fapproval_status")
    private ApprovalStatusEnum approvalStatus;

    @ApiModelProperty(value = "处理状态：1-已处理；0-待处理")
    @TableField("Fprocess_status")
    private ProcessStatusEnum processStatus;

    @ApiModelProperty(value = "操作人用户id")
    @TableField("Foperator_id")
    private String operatorId;

    @ApiModelProperty(value = "操作时间")
    @TableField("Foperator_time")
    private LocalDateTime operatorTime;

    @ApiModelProperty(value = "创建时间")
    @TableField("Fcreated_time")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("Fupdate_time")
    private LocalDateTime updateTime;


}
